package top.codedance.iotp.serialPortSDK.device.lighting;

import top.codedance.iotp.serialPortSDK.SerialPortDevice;
import org.apache.commons.lang3.StringUtils;

public class Seekway418X implements SerialPortDevice {

    public String sresult = null;

    private Seekway418X() {

    }

    public static Seekway418X getInstance() {
        return new Seekway418X();
    }

    @Override
    public void parse(String result) {
        if (StringUtils.isNotBlank(result)) {
            sresult = result.toUpperCase().replaceAll("\\s", "");
        }
    }
}
